package cn.yunhe.dao;

import cn.yunhe.entity.News;
import cn.yunhe.entity.Page;

import java.util.List;

public interface INewsDao {

    News getNews(int id);

    List<News> getAllNews();

    Page getNewsByPage(int pageNum, int pageSize);
}
